<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>MQTT Protocol</title>
    <link rel="stylesheet" href="/static/css/index.css">
    <style>

    </style>
</head>

<body>
  {{template "nav_tmpl.tmpl"}}
    <h1>MQTT Protocol</h1>
    <table id="logTable">
        <tr>
            <th>Topic</th>
            <th>Payload</th>
            <th>描述（作用）</th>
        </tr>
        {{range $index, $value := .protocol_array}}
        <tr>
            <td>{{$value.Topic}}</td>
            <td>{{$value.Payload}}</td>
            <td>{{$value.Description}}</td>
        </tr>
        {{end}}
    </table>
</body>

</html>